import request from '@/utils/request'

// 查询租户登记列表
export function listLesseeProcessApplicationList(query) {
  return request({
    url: '/system/lesseeProcessApplicationList/list',
    method: 'get',
    params: query
  })
}

// 查询租户登记详细
export function getLesseeProcessApplicationList(lesseeId) {
  return request({
    url: '/system/lesseeProcessApplicationList/' + lesseeId,
    method: 'get'
  })
}

// 新增租户登记
export function addLesseeProcessApplicationList(data) {
  return request({
    url: '/system/lesseeProcessApplicationList',
    method: 'post',
    data: data
  })
}

// 修改租户登记
export function updateLesseeProcessApplicationList(data) {
  return request({
    url: '/system/lesseeProcessApplicationList',
    method: 'put',
    data: data
  })
}

// 删除租户登记
export function delLesseeProcessApplicationList(lesseeId) {
  return request({
    url: '/system/lesseeProcessApplicationList/' + lesseeId,
    method: 'delete'
  })
}

// 查询租户登记详细
export function getApiInfo(lesseeId) {
  return request({
    url: '/system/lesseeProcessApplicationList/getApiInfo/' + lesseeId,
    method: 'get'
  })
}

export function getApiList() {
  return request({
    url: '/system/lesseeProcessApplicationList/getApiList',
    method: 'get'
  })
}


